package xju_3_4.springboot_3_4.mapper;

import org.apache.ibatis.annotations.Insert;
import xju_3_4.springboot_3_4.entity.User1;

import java.util.List;

//@Mapper // 自动生成代理类
public interface User1Mapper {
//    @Select("select * from user")
    List<User1> list();

    @Insert("insert into user(username,password)values(#{username},#{password}) ")
    void addUser(User1 user);
}
